package com.yiren.backstage.currency.entity;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.List;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Transient;

/**
 * Time:2021/11/09 11:06
 * Author:xiaozan
 * Description:灯光组合
 */
@Entity(nameInDb = "light_combination", createInDb = false)
public class LightCombinationEntity implements Cloneable{

    @Id
    private String Id;

    /**保存单项灯光集合ID  Json*/
    private String singleLightIds;

    /**单项灯光ID集合*/
    @Transient
    private List<SingleLightEntity> singleLightEntities;

    @Override
    public Object clone() throws CloneNotSupportedException {
        // TODO Auto-generated method stub
        return super.clone();
    }

    @Generated(hash = 495930577)
    public LightCombinationEntity(String Id, String singleLightIds) {
        this.Id = Id;
        this.singleLightIds = singleLightIds;
    }

    @Generated(hash = 1828465594)
    public LightCombinationEntity() {
    }

    public List<SingleLightEntity> getSingleLightEntities() {
        return singleLightEntities;
    }

    public void setSingleLightEntities(List<SingleLightEntity> singleLightEntities) {
        this.singleLightEntities = singleLightEntities;
    }

    public String getId() {
        return this.Id;
    }

    public void setId(String Id) {
        this.Id = Id;
    }

    public String getSingleLightIds() {
        return this.singleLightIds;
    }

    public void setSingleLightIds(String singleLightIds) {
        this.singleLightIds = singleLightIds;
    }
}
